<template>
  <div id="app">
    <LayOut />
  </div>
</template>

<script>
import LayOut from '@/layout/LayOut';

export default {
  components: {
    LayOut,
  },
  //浏览器刷新获取用户信息
  beforeCreate() {
    this.$store.dispatch('getUserInfo');
  },
};
</script>



